package com.lovo.roomProject.room.service;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.RoomDO;

import java.sql.SQLException;
import java.util.List;

public interface RoomService {
    List listRoom();
    List listRoomByType(String type);
    CutPageBean listRoomByPage(int current,String addr,String status,String enable,String type);
    RoomDO getRoomById(int id);
    void insert(RoomDO roomDO);
    void delete(int id) throws Exception;
    List listStudentById(int id);
}
